<!DOCTYPE html>
<html>

	<head>

		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>H+ 后台主题UI框架 - 空白页</title>
		<meta name="keywords" content="">
		<meta name="description" content="">

		<link rel="shortcut icon" href="../favicon.ico">
		<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
		<link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
		<!-- jqgrid-->
		<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
		<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
		<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
		<link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
		<link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
		<script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
		<script src="__STATIC__/sc/js/page.js"></script>
	</head>

	<body style="color:#333;padding:3px;">
		<!-- 标题 -->
		<div class="page-heade">
			<h1 class="title_color">所属经销商账户查询</h1>
		</div>
		<!-- 标题 -->
		<div class="row-margin-top">
			<form action="#" method="post" id="form_check" class="form-inline">
				<input type="hidden" value='{$page}' name="page" id="page-go" />
				<input type="hidden" value='{$list}' name="list" id="list-go" />
				<table class="row-margin-top tab-content table-bordered  table" border="1">
					<tr>
						<td><label for="" class="form-label">分区</label></td>
						<td><input type="text" class="form-control" name="fenqu" value="{$data.fenqu}"></td>
						<td><label for="" class="form-label">省份</label></td>
						<td><input type="text" class="form-control" name="sheng" value="{$data.sheng}"></td>
						<td><label for="" class="form-label">城市</label></td>
						<td><input type="text" class="form-control" name="shi" value="{$data.shi}"></td>
					</tr>
					<tr>
						<td><label for="" class="form-label">经销商编号</label></td>
						<td><input type="text" class="form-control" name="no" value="{$data.no}"></td>
						<td><label for="" class="form-label">经销商名称</label></td>
						<td colspan="3"><input type="text" class="form-control" name="jxs" value="{$data.jxs}"></td>
					</tr>
					<tr>
						<td colspan="6" class="text-center">
							<button class="btn btn-info btn-sm query" type="button" id="check">查询</button>
							<button class="btn btn-info btn-sm emptyIf" type="button" id="clear_check">清空查询条件</button>
						</td>
					</tr>
				</table>

				<table class="table row-margin-top table-bordered text-center" id="verifytable">
					<tr class="info text-center">
						<th class="text-center">NO.</th>
						<th class="text-center">分区</th>
						<th class="text-center">省份</th>
						<th class="text-center">城市</th>
						<th class="text-center">经销商编号</th>
						<th class="text-center">经销商名称</th>
						<th class="text-center">业务负责人</th>
						<th class="text-center">账户余额(元)</th>
						<th class="text-center">未核销(元)</th>
						<th class="text-center">核销中(元)</th>
						<th class="text-center">待支付(元)</th>
					</tr>
					<tbody>
						{volist name="jarr" id="vo" key="k"}
						<tr>
							<td>{$k}</td>
							<td>{$vo.fenqu}</td>
							<td>{$vo.sheng}</td>
							<td>{$vo.shi}</td>
							<td class="text-left">{$vo.jsn}</td>
							<td class="text-left">{$vo.jxs}</td>
							<td>
								<div class="textareaInfo1">
									{volist name="$vo.renyuan" id="r"}
									<span>{$r}</span> {/volist}
								</div>
							</td>
							<td></td>
							<td class="text-right ObjectNum">{$vo.weihe}</td>
							<td class="text-right ObjectNum">{$vo.hx}</td>
							<td class="text-right ObjectNum">{$vo.dzf}</td>
						</tr>
						{/volist}

					</tbody>
				</table>
				 <h5 class="text-center" id="pagesc" style="font-size: 16px;font-weight: 500">
            			<script>
                            $(function(){
                                pageSC("pagesc",{$sum},{$page},{$maxpage})
                            })
                        </script>
                       		 每页显示
           			<select id="pagesize">
                        <option value='10' {if condition="$list eq 10"}selected{/if}>10条</option>
                        <option value='20'{if condition="$list eq 20"}selected{/if}>20条</option>
                        <option value='40'{if condition="$list eq 40"}selected{/if}>40条</option>

            		</select>
        		 </h5>
			</form>
		</div>
		<!-- 全局js -->
		<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
		<!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
		<script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<!--统计代码，可删除-->
		<script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
		<script src="__STATIC__/layout/js/common.js"></script>
		<script>
			
			$("#check").click(function() {

				$(".formpage").submit();
			})
			$("#clear_check").click(function() {
				$("input[type='text']").val("");
				//$("select").val(0);
				$(".formpage").submit();
			})

			$(document).ready(function() {
				var $ObjectNum = $(".ObjectNum");
				toNum($ObjectNum);
			})

			$(document).ready(function() {
				// $("#verifytable tbody tr td").find('.duigou')
				var $duigou = $(".duigou");
				$duigou.parent().addClass("font-bold");

			})
		</script>
	</body>

</html>